import VtSelect from "@/components/VtSelect/index.vue";
import VtRadioGroup from "@/components/VtRadioGroup/index.vue";
import QuantityInput from "@/components/QuantityInput/index.vue";
import RollWeightInput from "@/components/RollWeightInput/index.vue";
import AccessorySelect from "@/components/AccessorySelect/index.vue";
import UserLabel from "@/components/UserLabel/index.vue";
import PriceDisplay from "@/components/PriceDisplay/index.vue";
import DigitalPrintDisplay from "@/components/DigitalPrintDisplay/index.vue";
import PriceHistoryDisplay from "@/components/PriceHistoryDisplay/index.vue";

export function setupComponents(app) {
  // 注册VtSelect为全局组件
  app.component("VtSelect", VtSelect);
  // 注册VtRadioGroup为全局组件
  app.component("VtRadioGroup", VtRadioGroup);
  // 注册QuantityInput为全局组件
  app.component("QuantityInput", QuantityInput);
  // 注册RollWeightInput为全局组件
  app.component("RollWeightInput", RollWeightInput);
  // 注册AccessorySelect为全局组件
  app.component("AccessorySelect", AccessorySelect);
  // 注册UserLabel为全局组件
  app.component("UserLabel", UserLabel);
  // 注册PriceDisplay为全局组件
  app.component("PriceDisplay", PriceDisplay);
  // 注册DigitalPrintDisplay为全局组件
  app.component("DigitalPrintDisplay", DigitalPrintDisplay);
  app.component("PriceHistoryDisplay", PriceHistoryDisplay);
}
